package com.wego.upms.mapper;

import com.wego.upms.model.UpmsOrganization;
import com.wego.upms.model.UpmsOrganizationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UpmsOrganizationMapper {
    long countByExample ( UpmsOrganizationExample example );

    int deleteByExample ( UpmsOrganizationExample example );

    int deleteByPrimaryKey ( Integer organizationId );

    int insert ( UpmsOrganization record );

    int insertSelective ( UpmsOrganization record );

    List<UpmsOrganization> selectByExample ( UpmsOrganizationExample example );

    UpmsOrganization selectByPrimaryKey ( Integer organizationId );

    int updateByExampleSelective ( @Param("record") UpmsOrganization record, @Param("example") UpmsOrganizationExample example );

    int updateByExample ( @Param("record") UpmsOrganization record, @Param("example") UpmsOrganizationExample example );

    int updateByPrimaryKeySelective ( UpmsOrganization record );

    int updateByPrimaryKey ( UpmsOrganization record );
}